package com.cn.wx.tread;

public class Productor extends Thread {

    private StoreHouse storeHouse = null;

    public Productor(StoreHouse storeHouse) {
        this.storeHouse = storeHouse;
    }

    @Override
    public void run() {
        storeHouse.add();
    }
}
